package com.ddstation.onsitelaw.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;


@Data
@Table(name = "dt_invs_manage_institution_supervisor_onsite", schema = "hzsc_invs")
public class DtInvsManageInstitutionSupervisorEntity {

    @Column(name = "supervisor_id", nullable = false)
    private int supervisorId;

    @Column(name = "role_id", nullable = false)
    private Integer roleId;

    @Column(name = "invs_id", nullable = true, length = 32)
    private String invsId;

    @Column(name = "institution_id", nullable = false, length = 8)
    private String institutionId;

    @Column(name = "wx_user_id")
    private Integer wxUserId;


    @Column(name = "login_user", nullable = false, length = 50)
    private String loginUser;

    @Column(name = "login_password", nullable = false, length = 64)
    private String loginPassword;

    @Column(name = "auth_type", nullable = false)
    private Integer authType;

    @Column(name = "status", nullable = false)
    private Integer status;

    @Column(name = "update_tm", nullable = false)
    private Date updateTm;

    @Column(name = "create_tm", nullable = false)
    private Date createTm;

}
